home *** CD-ROM | disk | FTP | other *** search
/ Unreal Tournament Game Programming for Teens / UnrealTournamentGameProgrammingForTeens.iso / Chapter Files / Chapter06 / ReturnAnInt.txt < prev    next >
Text File  |  2006-10-13  |  248b  |  13 lines

  1. public function int ReturnAnInt(){
  2.   return 2;
  3. }
  4.  
  5. public function float AverageTwoNumbers(float First, float Second){
  6.  
  7.     local float AddedNumbers;
  8.     AddedNumbers = ReturnAnInt();
  9.  
  10.     //lines left out    
  11.  
  12.     return AddedNumbers;
  13. }